@import url('./assets/font/iconfont/iconfont.css');

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --border-radius: 4px;
  --background-image-linear-gradient: linear-gradient(
    126deg,
    #a8edea 0%,
    #fed6e3 100%
  );
  --foreground-rgb: 0, 0, 0;
  --background-start-rgb: 214, 219, 220;
  --background-end-rgb: 255, 255, 255;
  --background-image: linear-gradient(
    314deg,
    #11265e,
    #355b78,
    #4c9590,
    #5ed3a9
  );
  --background-image: linear-gradient(25deg, #a8edea 0%, #fed6e3 100%);
  --font-color: #333;
}

@media (prefers-color-scheme: dark) {
  :root {
    --foreground-rgb: 255, 255, 255;
    --background-start-rgb: 0, 0, 0;
    --background-end-rgb: 0, 0, 0;
  }
}

@layer utilities {
  .text-balance {
    text-wrap: balance;
  }
}

/* * {
  font-size: 14px;
  box-sizing: border-box;
  scrollbar-color: var(--font-color) transparent;
  scrollbar-width: thin;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  font-weight: 300;
} */
/*
@font-face {
  font-family: 'lixukexingshu';
  src: url('./assets/font/lixukexingshu.woff2');
  font-weight: normal;
  font-style: normal;
}

html,
body,
ol,
ul,
dl {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 300;
} */

body {
  /* margin: 0;
  min-width: 1440px; */
  transition: 0.15s;
  color: rgb(var(--foreground-rgb));
  background: linear-gradient(
      to bottom,
      transparent,
      rgb(var(--background-end-rgb))
    )
    rgb(var(--background-start-rgb));
}

/* code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

a,
li {
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
  background-color: transparent !important;
}

::-webkit-scrollbar-thumb {
  background-color: fade(var(--font-color), 50%) !important;
  border-radius: 3px !important;
  border: none !important;
  min-height: initial !important;
  min-width: initial !important;

  &:hover {
    background-color: fade(var(--font-color), 70%) !important;
  }
}

::-webkit-scrollbar-track {
  background-color: transparent !important;
  margin: 0 !important;
}

::-webkit-scrollbar-track-piece {
  background-color: transparent !important;
  margin: 0 !important;
}

::-webkit-scrollbar-corner {
  display: none;
} */
